/*
 * @Descripttion: 获取首字母
 * @Author: ziwei
 * @Date: 2022-09-08 16:48:19
 * @LastEditors: ziwei
 * @LastEditTime: 2022-09-08 16:53:50
 */
export default {}
type FirsChat<T> = T extends `${infer L}${infer R}`?L:never

type A = FirsChat<'BFC'>
type B = FirsChat<'dev'>
type C = FirsChat<''>